'use strict';

import Base from './base.js';

export default class extends Base {

  async listAction(){
    let model = this.model("slider");
    let data = await model.select();
    //data.pageSize=10;
    //data.total=data.data.length;
    //data.page=Math.ceil(total/pageSize);
    //data.curPage=this.get("page")
    this.success(data);
  }
}
